package com.caidan.security.mapper;

import com.caidan.security.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper{
    @Select("select * from demo.sys_user where user_name = #{userName}")
    User getUser(String userName);
}